 package com.xq.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xq.entity.TbDepartment;
import com.xq.vo.TbDepShowVo;
import com.xq.vo.TbDepVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

 /**
  * (TbDepartment)表数据库访问层
  *
  * @author makejava
  * @since 2020-07-25 20:23:45
  */
 public interface TbDepartmentDao extends BaseMapper<TbDepartment> {
     List<TbDepVo> findByDepartmentCount();

     Page<TbDepShowVo> findPageByDep(Page<TbDepartment> page, @Param(Constants.WRAPPER) QueryWrapper wrapper);
 }